*****************************************************  Cultures of Violence Estimations on Amelia Data **  Authors: Joe Young + Chris Mullins              **  Date: 11/17/08, update 5/24/10                  **  Project: Cultures of Violence                   ***************************************************** version 10.1set more offset mem 100000set matsize 10000use amelia_imputed.dta***************************************************  Model with Fatal Attacks as the Dep. Var      **       ZINB on Imputed data                     **       Robust Standard Errors                   *
*       Model 3, Table 4                         ***************************************************

//Need mim program from (package st0139_1 from http://www.stata-journal.com/software/sj9-2)
//Royston, P. 2005b. Multiple imputation of missing values: Update of ice.  Stata Journal 5: 527-536.
#delimit ;mim, category(fit): zinb domestic  pts_a h_rate1 warl deathpenalty sip2 lpop gdpen, inflate(pts_a h_rate1 warl deathpenalty lpop sip2 gdpen) cluster(cowcode);#delimit cr***************************************************  Model with Fatal Attacks as the Dep. Var      **       ZINB on Imputed data  Factor Scores      **       Robust Standard Errors                   *
*       Model 6, Table 5**************************************************#delimit ;mim, category(fit): zinb domestic  factor deathpenalty sip2 lpop gdpen, inflate(factor deathpenalty lpop sip2 gdpen) cluster(cowcode);#delimit cr